.search-bar {
  width: 100%;
  /* 40px */
  height: 1.066667rem;
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.search-bar .bar-location {
  /* 20px */
  margin-right: .533333rem;
  /* 13px */
  border-radius: .346667rem;
  background-color: rgba(0, 0, 0, 0.33);
  /* 92px */
  width: 2.453333rem;
  /* 28px */
  height: .746667rem;
}

.location-icon {
  display: inline-block;
  /* 15px */
  width: .4rem;
  /* 20px */
  height: .533333rem;
  /* 8px */
  vertical-align: .213333rem;
  /* 6px */
  margin-left: .16rem;
  background-image: url('../img/locationIcon.png');
  /* 背景图片平铺 */
  background-size: cover;
}

.search-bar .location-text {
  position: relative;
  display: inline-block;
  /* 14px */
  font-size: .373333rem;
  color: white;
  /* 12px */
  vertical-align: .32rem;
  /* -3px */
  margin-left: -0.08rem;
}

/* 用伪类，直接复制，则可以少用一个div */
.search-bar .location-text::after {
  content: ' ';
  display: block;
  /* 14px */
  width: .373333rem;
  height: .373333rem;
  background-image: url('../img/arrowIcon.png');
  /* 背景图片平铺 */
  background-size: cover;
  position: absolute;
  /* -15px */
  right: -0.4rem;
  /* -1px */
  top: -0.026667rem;
}

.search-bar .search-btn {
  position: relative;
  /* 170px */
  width: 4.533333rem;
  /* 30px */
  height: .8rem;
  background-color: white;
  /* 20px */
  border-radius: .533333rem;
}

.search-bar .search-btn::before {
  content: ' ';
  display: block;
  /* 14px */
  width: .373333rem;
  height: .373333rem;
  background-image: url('../img/searchIcon.png');
  /* 背景图片平铺 */
  background-size: cover;
  position: absolute;
  /* 10px */
  left: .266667rem;
  /* 7px */
  top: .186667rem;
}

.search-bar .place-holder {
  color: #a9a9a9;
  /* 14px */
  font-size: .373333rem;
  height: 100%;
  /* 30px */
  line-height: 0.8rem;
  /* 28px */
  margin-left: .746667rem;
}